#!/bin/bash
echo 'redis'
tar -zxvf /root/wscenter/redis-4.2.0.tgz
cd /redis-4.2.0
/usr/bin/phpize
./configure
make
make install
echo extension="redis.so" >>/etc/php.ini
echo 'setup wscenter'
cd /root/wscenter
php start.php start -d

/bin/bash
